package com.zretc.api.pojo.activityModule.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class Participation {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("activity_id")
    private Integer activityId;

    private Integer userId;
    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField("activity_name")
    private String activityName;
    @TableField("start_time")
    private Date startTime;

    private String location;
    public Participation(Integer activity, Integer userId){
        this.activityId = activity;
        this.userId = userId;
    }
}
